#-------------------------------------------------
#
# Project created by QtCreator 2018-04-10T14:40:21
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = TC_MDV
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0




SOURCES += \
    Alg/algimpurity.cpp \
    Thread/algthread.cpp \
    Thread/algworker.cpp \
    Thread/camerathread.cpp \
    Thread/cameraworker.cpp \
    Thread/saveimgthread.cpp \
    Thread/saveimgworker.cpp \
    algdialog.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    Alg/algimpurity.h \
    Common/common.h \
    Thread/algthread.h \
    Thread/algworker.h \
    Thread/camerathread.h \
    Thread/cameraworker.h \
    Thread/saveimgthread.h \
    Thread/saveimgworker.h \
    algdialog.h \
    mainwindow.h

FORMS += \
        algdialog.ui \
        mainwindow.ui

TRANSLATIONS += \
    TC_MDV_zh_CN.ts

#--------------------------------------------Halcon--------------------------------------------------
INCLUDEPATH += 'C:/Program Files/MVTec/HALCON-18.11-Progress/include'
INCLUDEPATH += 'C:/Program Files/MVTec/HALCON-18.11-Progress/include/cpp'
INCLUDEPATH += 'C:/Program Files/MVTec/HALCON-18.11-Progress/include/halconcpp'




win32: LIBS += -L'C:/Program Files/MVTec/HALCON-18.11-Progress/lib/x64-win64/' -lhalconcpp

INCLUDEPATH += 'C:/Program Files/MVTec/HALCON-18.11-Progress/lib/x64-win64'
DEPENDPATH += 'C:/Program Files/MVTec/HALCON-18.11-Progress/lib/x64-win64'

win32:!win32-g++: PRE_TARGETDEPS += 'C:/Program Files/MVTec/HALCON-18.11-Progress/lib/x64-win64/halconcpp.lib'
else:win32-g++: PRE_TARGETDEPS += 'C:/Program Files/MVTec/HALCON-18.11-Progress/lib/x64-win64/libhalconcpp.a'



#--------------------------------------------MinVison--------------------------------------------------

INCLUDEPATH += ./include
#LIBS += -L$$PWD -lMVCAMSDK #-lMVCAMSDK_X64

LIBS += -L$$PWD/lib/ -lMVCAMSDK_X64

include($$PWD/AppKey/appkey.pri)
include($$PWD/Action/action.pri)
include($$PWD/InitForm/initForm.pri)

RESOURCES += \
    res.qrc


